package cn.bugstack.domain.trade.service;

import cn.bugstack.domain.trade.model.entity.MarketPayOrderEntity;
import cn.bugstack.domain.trade.model.entity.PayActivityEntity;
import cn.bugstack.domain.trade.model.entity.PayDiscountEntity;
import cn.bugstack.domain.trade.model.entity.UserEntity;
import cn.bugstack.domain.trade.model.valobj.GroupBuyProgressVO;

/**
 * @Author: 小新
 * @Date: 2025/7/22 21:22
 * @Description:
 * @Version: v1.0
 */

public interface ITradeLockOrderService {

   MarketPayOrderEntity queryNoPayMarketPayOrderByOutTradeNo(String userId,String outTradeNo);

   GroupBuyProgressVO queryGroupBuyProgress(String teamId);

   MarketPayOrderEntity lockMarketPayOrder(UserEntity userEntity, PayDiscountEntity payDiscountEntity, PayActivityEntity payActivityEntity) throws Exception;

}
